{{#if isMac}}
    {{gh-drag-region width="100%" height="16px"}}
{{else if isWindows}}
    {{gh-win-titlebar title=title}}
{{/if}}

{{!-- Left "Quick Swich" Area  --}}
{{#if blogs}}
    {{gh-switcher
        blogs=blogs
        switchToBlog="switchToBlog"
        showAddBlog="showAddBlog"
        showEditBlog="showEditBlog"
        showPreferences="showPreferences"
        blogRemoved="blogRemoved"
    }}
{{/if}}

{{!-- Right Side: Main Content Area  --}}
<div class="content win-height-adjusted">
    {{gh-find-in-webview isActive=isFindInViewActive}}

    {{#if isEditBlogVisible}}
        <div class="center-host">
            {{gh-edit-blog
                blogAdded="blogAdded"
                blog=blogToEdit
                editWarning=editWarning
                preFillValues=preFillValues
            }}
        </div>
    {{else if isPreferencesVisible}}
        {{gh-preferences}}
    {{/if}}

    {{#if blogs}}
        {{#each blogs as |blog|}}
            {{gh-instance-host blog=blog showEditBlog="showEditBlog"}}
        {{/each}}
    {{/if}}
</div>

